<?php
/**
 * ExtSliderField class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtSliderField extends ExtSliderFieldBase
{
    /**
     * Gets the value of ExtJS tipText property
     * @return Function 
     */
    public function getTipText()
    {
    	return $this->getConfig("tiptext");
    }

    /**
     * Sets the value of ExtJS tipText property
     * @param Function $value 
     */
    public function setTipText($value)
    {
    	$this->setConfig("tiptext",$value);
    }

    /**
     * Gets the value of ExtJS useTips property
     * @return Boolean 
     */
    public function getUseTips()
    {
    	return $this->getConfig("usetips");
    }

    /**
     * Sets the value of ExtJS useTips property
     * @param Boolean $value 
     */
    public function setUseTips($value)
    {
    	$this->setConfig("usetips",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'tiptext' => 'tipText',
            'usetips' => 'useTips'
        ));


        $this->jsconfigs = array_merge($this->jsconfigs,array(
            'tipText' => true
        ));

        $this->proptags = array_merge($this->proptags,array(
            'tiptext' => true
        ));
        $this->setXType('sliderfield');
        $this->setXClass('Ext.form.SliderField');
    }    
}
?>